package com.ssk.sh.web.controller;

import com.ssk.sh.core.anno.NotControllerResponseAdvice;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import reactor.core.publisher.Mono;

/**
 * @author T0220165
 */
@RestController
@Tag(name = "health")
public class HealthController {

    @GetMapping("/health")
    @NotControllerResponseAdvice
    public Mono<String> health() {
        return Mono.just("ok");
    }
}
